package com.dwxt.mall.dao;

import com.dwxt.mall.entity.ReceiptAddress;
import com.dwxt.mall.entity.ReceiptAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReceiptAddressMapper {
    long countByExample(ReceiptAddressExample example);

    int deleteByExample(ReceiptAddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ReceiptAddress record);

    int insertSelective(ReceiptAddress record);

    List<ReceiptAddress> selectByExample(ReceiptAddressExample example);

    ReceiptAddress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ReceiptAddress record, @Param("example") ReceiptAddressExample example);

    int updateByExample(@Param("record") ReceiptAddress record, @Param("example") ReceiptAddressExample example);

    int updateByPrimaryKeySelective(ReceiptAddress record);

    int updateByPrimaryKey(ReceiptAddress record);
}